package com.hurr.bo;

import java.util.Collection;

/**
 * This class represents a user finance, noting the deposits, expenses and
 * savings for the user.
 * 
 * @author Fernando Perelli
 * 
 */
public class Finance extends AbstractModel {

	/**
	 * id
	 */
	private Long id;

	/**
	 * deposits
	 */
	private Collection<Deposit> deposits;

	/**
	 * ExpenseFinancesexpenses
	 */
	private Collection<Expense> expenses;

	/**
	 * savings
	 */
	private Collection<Saving> savings;

	/**
	 * banks
	 */
	private Collection<Bank> banks;

	/**
	 * 
	 */
	public Finance() {
		super();
	}

	/**
	 * Get id
	 * 
	 * @return id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * Set Id
	 * 
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * Get Deposit Finances
	 * 
	 * @return deposits
	 */
	public Collection<Deposit> getDeposits() {
		return deposits;
	}

	/**
	 * Set Deposit Finances
	 * 
	 * @param deposits
	 */
	public void setDeposits(Collection<Deposit> deposits) {
		this.deposits = deposits;
	}

	/**
	 * Get Expense Finances
	 * 
	 * @return expenses
	 */
	public Collection<Expense> getExpenses() {
		return expenses;
	}

	/**
	 * Set Expense Finances
	 * 
	 * @param expenses
	 */
	public void setExpenses(Collection<Expense> expenses) {
		this.expenses = expenses;
	}

	/**
	 * Get Saving Finances
	 * 
	 * @return savings
	 */
	public Collection<Saving> getSavings() {
		return savings;
	}

	/**
	 * Set Saving Finances
	 * 
	 * @param savings
	 */
	public void setSavings(Collection<Saving> savings) {
		this.savings = savings;
	}

	/**
	 * Get Banks
	 * 
	 * @return banks
	 */
	public Collection<Bank> getBanks() {
		return banks;
	}

	/**
	 * Set Banks
	 * 
	 * @param banks
	 */
	public void setBanks(Collection<Bank> banks) {
		this.banks = banks;
	}

}
